package com.sse.sensor;

import com.sse.sensor.event.SensorEventListener;

/**
 * Interfaz que define el comportamiento de un sensor
 * @author Paul
 *
 */
public interface ISensor {

	public void addSensorEventListener(SensorEventListener sensorEventListener);
	
	public void removeSensorEventListener(SensorEventListener sensorEventListener);
	
	public void removeAllSensorEventListener();
	
	public void iniciar();
	
	public long getId();
	public void setId(long id);

	public int getPeriod();
	public void setPeriod(int period);

	public long getTipoSensor();
	public void setTipoSensor(long tipoSensor);

	public int getX();
	public void setX(int x);

	public int getY();
	public void setY(int y);	
	
	public int getCasaId();
	public void setCasaId(int casaId);
}
